﻿using System.Windows.Controls;
using MTBrainStorm.ViewModels;

namespace MTBrainStorm.Views
{
    /// <summary>
    /// Interaction logic for TextElement.xaml
    /// </summary>
    public partial class TextElement : UserControl
    {
        public TextElement()
        {
            InitializeComponent();
        }

        private void TapGesture(object sender, Blake.NUI.WPF.Gestures.GestureEventArgs e)
        {
            ((TextElementViewModel)((TextBlock)e.Source).DataContext).ToggleKeyboardCommand.Execute(null);
        }
    }
}
